	Ext.BLANK_IMAGE_URL = "../../script/ext-2.0.2/resources/images/default/s.gif"; 
	var fieldSet =  new Ext.form.FieldSet({
				title: '个人信息',
				layout: 'form',
                //autoHeight: false,
                //width: 300,
                //height: 170,
		        defaultType: 'textfield',
                items: [{
						 	fieldLabel: '用户名',
							name: 'userName',
							id:'userName',
							anchor:'95%'
                		 },
                		 {
							fieldLabel: '用户ID',
							name: 'userCode',
							id:'userCode',
							anchor:'95%'
		                 },
                		 {
							fieldLabel: '角色',
							name: 'roleName',
							id:'roleName',
							anchor:'95%'
		                 },
                		 {
							fieldLabel: '机构',
							name: 'userOrg',
							id:'userOrg',
							anchor:'95%'
		                 },
                		 {
							fieldLabel: '上一次登陆时间',
							name: 'lastDate',
							id:'lastDate',
							anchor:'95%'
		                 }] 
    });
    
	var fp = new Ext.FormPanel({
				id:'ext_form',
		        labelWidth: 100, 
		        waitMsg:'正在提交，请稍后...',
		        frame:true,
		        bodyStyle:'padding:5px 5px 0',
		        reader: new Ext.data.JsonReader({
		            root: 'ZANY',
		            totalProperty: "results",
		            fields:["userName","userCode","roleName","userOrg","lastDate"]
		        }),
		        items: [{
		     			layout: 'form',
		     			width: 300,
		     			defaultType: 'textfield',
			            items: [{
								 	fieldLabel: '用户名',
									name: 'userName',
									id:'userName',
									anchor:'95%'
		                		 },
		                		 {
									fieldLabel: '用户ID',
									name: 'userCode',
									id:'userCode',
									anchor:'95%'
				                 },
		                		 {
									fieldLabel: '角色',
									name: 'roleName',
									id:'roleName',
									anchor:'95%'
				                 },
		                		 {
									fieldLabel: '机构',
									name: 'userOrg',
									id:'userOrg',
									anchor:'95%'
				                 },
		                		 {
									fieldLabel: '上一次登陆时间',
									name: 'lastDate',
									id:'lastDate',
									anchor:'95%'
				                 }] 
			             
							}]
	    		});

	Ext.onReady(function(){
		Ext.QuickTips.init(); 
	　　 Ext.form.Field.prototype.msgTarget = 'side';
		Ext.BLANK_IMAGE_URL = "../../script/ext-2.0.2/resources/images/default/s.gif";
		fp.getForm().load({url:'/children/main!getUserDetail.action?dateTime='+new Date().getTime(), waitMsg:'Loading'});
		var port = new Ext.Viewport({
				layout : 'fit',
				frame : true,
				items : [this.fp]
	    	});
	})
